From: Florian Müllner Date: Thu, 12 Sep 2019 10:40:46 +0000 (+0200) Subject: extensionSystem: Add missing return value X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~811^2^2~95 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=ce9227062635804a347cf214cf370d24bf39c624;p=gnome-shell.git extensionSystem: Add missing return value _callExtensionInit() should return whether the extension was initialized successfully or not, but the early return added in commit 2a9e065cfb doesn't. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/715 --- diff --git a/js/ui/extensionSystem.js b/js/ui/extensionSystem.js index 7fe275ec7..e8f207943 100644 --- a/js/ui/extensionSystem.js +++ b/js/ui/extensionSystem.js @@ -305,7 +305,7 @@ var ExtensionManager = class { _callExtensionInit(uuid) { if (!Main.sessionMode.allowExtensions) - return; + return false; let extension = this.lookup(uuid); if (!extension)